<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<div class="t_bar">团队人员构成</div>
<table id="basicProjectInfo" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
	<col style="width:20%"/>
	<col style="width:30%"/>
	<col style="width:20%"/>
	<col style="width:30%"/>
	
	<tr>
		<td align="right" rowspan="2">总 人 数：</td>
		<td rowspan="2" align="center">
			<input type="text" name="proposal/psn_total" id="total_psnAll" class="gray"  disabled onfocus="InitInput.setNumber(this,9,0,0)" style="text-align:right;" label="总人数"   
				   value="<x:out select="$xmlData/data/proposal/psn_total" />" />
		</td>
		<td align="right"><span class="color_red">*</span>40周岁以上：</td>
		<td align="center">
			<input type="text" name="proposal/psn_upforty" id="total_upforty"
				   class="required"   label="团队人员构成-->40周岁以上"  style="text-align:right;" 
				    onfocus="InitInput.setNumber(this,9,0,0)" onchange="countPsn();"
				   value="<x:out select="$xmlData/data/proposal/psn_upforty" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>40周岁以下（含）：</td>
		<td align="center">
			<input type="text" name="proposal/psn_downforty" id="total_downforty"
				   class="required"   label="团队人员构成-->40周岁以下（含）"  style="text-align:right;" 
				    onfocus="InitInput.setNumber(this,9,0,0)" onchange="countPsn();"
				   value="<x:out select="$xmlData/data/proposal/psn_downforty" />"/>
		</td>
	</tr>
	
	<tr>
		<td align="right" rowspan="2">技术职称：</td>
		<td align="center"><span class="color_red">*</span>正 高 级</td>
		<td align="center"><span class="color_red">*</span>副 高 级</td>
		<td align="center"><span class="color_red">*</span>其     他</td>
	</tr>
	<tr>
		<td align="center">
			<input type="text" name="proposal/regular_senior" id="regular_senior"
				   class="required"   label="团队人员构成-->技术职称-->正高级"  style="text-align:right;"onfocus="InitInput.setNumber(this,9,0,0)" 
				   value="<x:out select="$xmlData/data/proposal/regular_senior" />"/>
		</td>
		<td align="center">
			<input type="text" name="proposal/associate_senior" id="associate_senior"
				   class="required"   label="团队人员构成-->技术职称-->副高级"  style="text-align:right;"onfocus="InitInput.setNumber(this,9,0,0)" 
				   value="<x:out select="$xmlData/data/proposal/associate_senior" />"/>
		</td>
		<td align="center">
			<input type="text" name="proposal/other_senior" id="other_senior"
				   class="required"   label="团队人员构成-->技术职称-->其他"  style="text-align:right;"onfocus="InitInput.setNumber(this,9,0,0)" 
				   value="<x:out select="$xmlData/data/proposal/other_senior" />"/>
		</td>
	</tr>
	
	<tr>
		<td align="right" rowspan="2">学    位：</td>
		<td align="center"><span class="color_red">*</span>博   士</td>
		<td align="center"><span class="color_red">*</span>硕   士</td>
		<td align="center"><span class="color_red">*</span>其   他</td>
	</tr>
	<tr>
		<td align="center">
			<input type="text" name="proposal/psn_doctor" id="psn_doctor"
				   class="required"   label="团队人员构成-->学位-->博士"  style="text-align:right;"onfocus="InitInput.setNumber(this,9,0,0)" 
				   value="<x:out select="$xmlData/data/proposal/psn_doctor" />"/>
		</td>
		<td align="center">
			<input type="text" name="proposal/psn_master" id="psn_master"
				   class="required"   label="团队人员构成-->学位-->硕士"  style="text-align:right;"onfocus="InitInput.setNumber(this,9,0,0)" 
				   value="<x:out select="$xmlData/data/proposal/psn_master" />"/>
		</td>
		<td align="center">
			<input type="text" name="proposal/psn_other" id="psn_other"
				   class="required"   label="团队人员构成-->学位-->其他"  style="text-align:right;"onfocus="InitInput.setNumber(this,9,0,0)" 
				   value="<x:out select="$xmlData/data/proposal/psn_other"/>"/>
		</td>
	</tr>
</table>
<div class="t_bar"><span class="color_red">*</span>团队领军人才及核心成员基本信息（限88条）</div>
<table id="basicProjectTeamInfo" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
		<thead>
               <tr style="border:1px solid #B7D1E6"> 
					<th class="TblHead" align="center"  width="5%">选择</th>
					<th class="TblHead" align="center"  width="5%">序号</th>
					<th class="TblHead" align="center"  width="6%">姓名</th>
					<th class="TblHead" align="center"  width="6%">性别</th>
					<th class="TblHead" align="center"  width="8%">国籍</th>
					<th class="TblHead" align="center"  width="14%">出生年月</th>
					<th class="TblHead" align="center"  width="8%">学位</th>
					<th class="TblHead" align="center"  width="8%">职务</th>
					<th class="TblHead" align="center"  width="14%">职称</th>
					<th class="TblHead" align="center"  width="9%">研究领域</th>
					<th class="TblHead" align="center"  width="10%">参加工作时间</th>
				   <th class="TblHead" align="center"  width="8%">持股比例</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
						<td align="center">
						<input type="radio" class="radiobutton" name="selteams" >
						</td>
						<td align="center">
							<span name="teams|team[0][0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input name="teams|team[0][0]|name" label="姓名"  type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						
						<td align="center" >
							<cpt:select id="gender_[index]" name="gender" key="gender"  onChange="initControlValue(this.id)" value="" className="common_select"></cpt:select>
				            <input type="hidden" name="teams|team[0][0]|gender_value" value="" class="required" label="性别"/>
				            <input type="hidden" name="teams|team[0][0]|gender_name" value=""/>
			        	</td>
						<td align="center" >
							<cpt:select id="nationality_[index]" name="nationality" key="country" style="width:90%" onChange="initControlValue(this.id)" value="" className="common_select"></cpt:select>
				            <input type="hidden" name="teams|team[0][0]|nationality_value" value="" class="required" label="国籍"/>
				            <input type="hidden" name="teams|team[0][0]|nationality_name" value=""/>
			        	</td>
						<td align="center">
						<input id="team_birth_date_[0][0]" name="teams|team[0][0]|birth_date" label="出生年月"  value=""
							class=" required input_css date beforeToday" style="width: 80px"/>
						</td>
						<td align="center">
							<input name="teams|team[0][0]|degree" label="学位"  type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						<td align="center">
							<input name="teams|team[0][0]|post" label="职务" type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						<td align="center">
							 <cpt:tree key="prof_title" cacheable="false" className="input_css " readonly="true" value="" label="职称" width="60%"
				          		id="title[index]" name="title[0][0]" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
				          	<input type="hidden" name="teams|team[0][0]|title_value"  id="title[index]_value" class="required" value=""  label="职称" />
							<input type="hidden" name="teams|team[0][0]|title_name"  id="title[index]_name"  value=""/> 
							
						</td>
						<td align="center">
							<input name="teams|team[0][0]|research" label="研究领域" type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						
						<td align="center">
							<input id="team_job_date_[0][0]" name="teams|team[0][0]|job_date" label="参加工作时间" value=""
							class=" required input_css date beforeToday" style="width: 60%" />
						</td>
				        <td align="center">
				        	<input  name="teams|team[0][0]|shareholding_ratio" label="持股比例" value=""
				        		   class=" required input_css " onfocus="InitInput.setNumber(this,3,2,2)" style="width: 60%" />
				        </td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/teams/team" var="team">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
						<td align="center">
							<input type="radio" class="radiobutton" name="selteams" >
						</td>
						<td align="center">
							<span   name="teams/team[${flag}${index}]@seq_no" ><x:out select="$team/@seq_no"/></span> 
						</td>
						
						<td align="center">
							<input name="teams/team[${flag}${index}]/name" label="姓名" type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value="<x:out select="$team/name"/>"/>
						</td>
						<td align="center" >
							<c:set var="gender"><x:out select='$team/gender_value' /></c:set>
							<cpt:select id="gender_${index}" name="gender" key="gender"  onChange="initControlValue(this.id)" value="${gender }" className="common_select"></cpt:select>
							<input type="hidden" name="teams/team[${flag}${index}]/gender_value" value="<x:out select='$team/gender_value' />" class="required" label="性别"/>
							<input type="hidden" name="teams/team[${flag}${index}]/gender_name" value="<x:out select='$team/gender_name' />"/>
						</td>
						<td align="center" >
							<c:set var="nationality"><x:out select='$team/nationality_value' /></c:set>
							<cpt:select id="nationality_${index}" name="nationality" key="country"  onChange="initControlValue(this.id)" style="90%" value="${nationality }" className="common_select"></cpt:select>
							<input type="hidden" name="teams/team[${flag}${index}]/nationality_value" value="<x:out select='$team/nationality_value' />" class="required" label="国籍"/>
							<input type="hidden" name="teams/team[${flag}${index}]/nationality_name" value="<x:out select='$team/nationality_name' />"/>
						</td>
						<td align="center">
						<c:set var="birth_date" scope="page"><x:out select="$team/birth_date" /></c:set> 
						<input id="team_birth_date_[${flag}${index}]" value="${birth_date}" label="出生年月" type="text" 
							name="teams/team[${flag}${index}]/birth_date" class="required input_css date beforeToday" style="width: 60%" />
						</td>
						<td align="center">
							<input name="teams/team[${flag}${index}]/degree" label="学位" type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value="<x:out select="$team/degree"/>"/>
						</td>
						
						<td align="center">
							<input name="teams/team[${flag}${index}]/post" label="职务" type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value="<x:out select="$team/post"/>"/>
						</td>
						<td >
							<c:set var="title">{'id':'<x:out select="$team/title_value" />','name':'<x:out select="$team/title_name" />'}</c:set>
				          	<cpt:tree key="prof_title" cacheable="false" className="input_css" readonly="true"  value="${title}" label="职称"  width="60%"
				          		id="title${flag}${index}" name="title${flag}${index}" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
					        <input type="hidden"  id="title${flag}${index}_value" name="teams/team[${flag}${index}]/title_value" class="required" value="<x:out select="$team/title_value" />"  label="职称" />
							<input type="hidden"  id="title${flag}${index}_name" name="teams/team[${flag}${index}]/title_name" value="<x:out select="$team/title_name" />"/> 
						 
						</td>
						
						<td align="center">
							<input name="teams/team[${flag}${index}]/research" label="研究领域" type="text" class="input_css required maxlength:100"  style="width:80%;" maxlength="100" value="<x:out select="$team/research"/>"/>
						</td>
						<td align="center">
						<c:set var="job_date" scope="page"><x:out select="$team/job_date" /></c:set> 
						<input id="team_job_date_[${flag}${index}]" type="text" 
							name="teams/team[${flag}${index}]/job_date" 
							value="${job_date}" class="required date beforeToday input_css" style="width: 60%" label="参加工作时间"/>
						</td>

					<td align="center">
						<input name="teams/team[${flag}${index}]/shareholding_ratio" label="持股比例" type="text" class="input_css required " onfocus="InitInput.setNumber(this,3,2,2)"  style="width:80%;"  value="<x:out select="$team/shareholding_ratio"/>"/>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			<script type="text/javascript">
			showAllDateTag("basicProjectTeamInfo");
			</script>
			</tbody>
</table>  
<br/>
<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
			<input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('basicProjectTeamInfo',88,'团队领军人才及核心成员基本信息最多只能填写88条')){addNewRow('basicProjectTeamInfo');showDateTag('basicProjectTeamInfo');}try{top.resizeFrame();}catch(e){};">
			<input class="button_02" name="cmdMovePrev" type=button value="上移"onclick="movePrev('basicProjectTeamInfo','selteams')">
		    <input class="button_02" name="cmdMoveNext" type=button value="下移"onclick="moveNext('basicProjectTeamInfo','selteams')"> 
		    <input class="button_02" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('basicProjectTeamInfo','团队领军人才及核心成员基本信息')">
		    </td>
		</tr>
</table>
<div class="t_bar"><span class="color_red">*</span>近五年团队承担主要科研项目<span class="color_red">（注：项目性质指横向或纵向课题，来源指立项单位）</span>（5项以内）</div>
<table id="basicReachTeamInfo" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
	<thead>
             <tr style="border:1px solid #B7D1E6"> 
					<th class="TblHead" align="center"  width="5%">选择</th>
					<th class="TblHead" align="center"  width="5%">序号</th>
					<th class="TblHead" align="center"  width="15%">项目名称</th>
					<th class="TblHead" align="center"  width="6%">项目性质</th>
					<th class="TblHead" align="center"  width="10%">项目来源</th>
					<th class="TblHead" align="center"  width="7%">项目经费（万元）</th>
					<th class="TblHead" align="center"  width="10%">起始年度</th> 
					<th class="TblHead" align="center"  width="10%">终止年度</th>
					<th class="TblHead" align="center"  width="12%">团队承担人员</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
				<td align="center">
				<input type="radio" class="radiobutton" name="selresearchs" >
				</td>
						<td align="center">
							<span name="researchs|research[0][0]@seq_no" >[index]</span> 
						</td>
						<td align="center">
							<input name="researchs|research[0][0]|project_name" label="项目名称"  type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						
						<td align="center">
							<input name="researchs|research[0][0]|project_type" label="项目性质"  type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						
						<td align="center">
							<input name="researchs|research[0][0]|project_source" label="项目来源"  type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						
						<td align="center">
							<input name="researchs|research[0][0]|project_fund" label="项目经费" style="text-align:right"  onfocus="InitInput.setNumber(this,9,4,2)" type="text" class="input_css required maxlength:100"  style="width:80%;" maxlength="100" value=""/>
						</td>
						
						<td align="center">&nbsp; <input id="research_start_date_[0][0]"
							name="researchs|research[0][0]|start_year" label="起始年度" value="" maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)"
							class=" required input_text year"
							style="width: 70px;text-align:right" />
						</td>
						<td align="center">&nbsp;<input id="research_end_date_[0][0]"
							name="researchs|research[0][0]|end_year" label="终止年度" value="" maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)"
							class=" required input_text year"
							style="width: 70px;text-align:right" />
						</td>
						
						<td align="center">
							<input name="researchs|research[0][0]|project_psn" label="团队承担人员"   type="text" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" value=""/>
						</td>
						
						
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/researchs/research" var="research">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
						<td align="center">
							<input type="radio" class="radiobutton" name="selresearchs" >
						</td>
						<td align="center">
							<span   name="researchs/research[${flag}${index}]@seq_no" ><x:out select="$research/@seq_no"/></span> 
						</td>
						
						<td align="center">
							<input name="researchs/research[${flag}${index}]/project_name" label="项目名称" type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" 
							value="<x:out select="$research/project_name"/>"/>
						</td>
						 
						
						<td align="center">
							<input name="researchs/research[${flag}${index}]/project_type" label="项目性质" type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" 
							value="<x:out select="$research/project_type"/>"/>
						</td>
						
						
						<td align="center">
							<input name="researchs/research[${flag}${index}]/project_source" label="项目来源" type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" 
							value="<x:out select="$research/project_source"/>"/>
						</td>
						
						
						<td align="center">
							<input name="researchs/research[${flag}${index}]/project_fund" label="项目经费" type="text" style="text-align:right"  onfocus="InitInput.setNumber(this,9,4,2)" class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" 
							value="<x:out select="$research/project_fund"/>"/>
						</td>
						
						
						<td align="center">
							<c:set var="start_date" scope="page">
								<x:out select="$research/start_year" />
							</c:set> 
							<input id="research_start_date_[${flag}${index}]" value="${start_date}" maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)"
							name="researchs/research[${flag}${index}]/start_year" class="required year input_text "
							style="width: 70px;text-align:right" label="起始年度" />
						</td>
						<td align="center">
						<c:set var="end_date" scope="page"><x:out select="$research/end_year" /></c:set> 
						<input id="research_end_date_[${flag}${index}]" name="researchs/research[${flag}${index}]/end_year" maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)"
							value="${end_date}" class="required year input_text"
							style="width: 70px;text-align:right" label="终止年度" />
						</td>	
						
						
						<td align="center">
							<input name="researchs/research[${flag}${index}]/project_psn" label="团队承担人员" type="text"  class="input_css required maxlength:100"  style="width: 80%;" maxlength="100" 
							value="<x:out select="$research/project_psn"/>"/>
						</td>
						
						
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
				<script type="text/javascript">
				showAllDateTag("basicReachTeamInfo");
				</script>
			</tbody>
</table>
<br/>
<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
			<input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('basicReachTeamInfo',5,'近五年团队承担主要科研项目最多只能填写5条')){addNewRow('basicReachTeamInfo');showDateTag('basicReachTeamInfo');}try{top.resizeFrame();}catch(e){};">
			<input class="button_02" name="cmdMovePrev" type=button value="上移"onclick="movePrev('basicReachTeamInfo','selresearchs')">
		    <input class="button_02" name="cmdMoveNext" type=button value="下移"onclick="moveNext('basicReachTeamInfo','selresearchs')"> 
		    <input class="button_02" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('basicReachTeamInfo','近五年团队承担主要科研项目')">
		    </td>
		</tr>
</table>
<div class="t_bar"><span class="color_red">*</span>近五年团队重要获奖情况（5项以内）</div>
<table id="tblAwardInfo" border="0" cellspacing="0" cellpadding="0" class="table01 t_css">
		<col style="width:5%"/>
		<col style="width:5%"/>
		<col style="width:11%"/>
		<col style="width:11%"/>
		<col style="width:11%"/>
		<col style="width:11%"/>
		<col style="width:11%"/>
		<col style="width:13%"/>
		<col style="width:11%"/>
		<col style="width:11%"/>
		<thead>
			<tr style="border:1px solid #B7D1E6">
				<th class="TblHead" align="center" >选择</th>
				<th class="TblHead" align="center" >序号</th>
				<th class="TblHead" align="center" >获奖项目名称</th>
				<th class="TblHead" align="center" >奖励名称</th>
				<th class="TblHead" align="center" >奖励等级</th>
				<th class="TblHead" align="center" >授奖单位</th>
				<th class="TblHead" align="center" >授奖单位国别</th>
				<th class="TblHead" align="center" >获奖年度</th>
				<th class="TblHead" align="center" >团队获奖人</th>
				<th class="TblHead" align="center" >排名</th>
			</tr>
		</thead>
		<tbody id="tab">
		<tr style="display: none">
			<td align="center"> 
				<input type="radio" class="radiobutton" name="selAwardinfos">
			</td>
			<td align="center">
				<span name="awardinfos|awardinfo[0][0]@seq_no">[index]</span>
			</td>
			<td align="center">
				<input id="awardinfo_pro_name_[0][0]" style="width:80%;" name="awardinfos|awardinfo[0][0]|pro_name" maxlength="100" label="获奖项目名称" value="" class="input_text  required " />
			</td>
			<td align="center">
				<input id="awardinfo_award_name_[0][0]" style="width:80%;" name="awardinfos|awardinfo[0][0]|award_name" maxlength="100" label="奖励名称" value="" class="input_text  required " />
			</td>
			
			<td align="center">
				
				<input id="awardinfo_award_level_name_[0][0]" style="width:80%;" name="awardinfos|awardinfo[0][0]|award_level_name" maxlength="100" label="奖励等级" value="" class="input_text  required " />
				
			</td>
			
			<td align="center">
				<input id="awardinfo_award_depart_[0][0]" style="width:80%;" name="awardinfos|awardinfo[0][0]|award_depart" maxlength="100" label="授奖单位" value="" class="input_text  required " />
			</td>
			
			
			<td align="center">
				<cpt:select id="awardinfo_award_country_[index]"  name="award_country" key="country"  onChange="initControlValue(this.id);" style="width:90%"></cpt:select>
				<input type="hidden" name="awardinfos|awardinfo[0][0]|award_country_value"  class="input common_select required" value="" label="授奖单位国别">
				<input type="hidden" name="awardinfos|awardinfo[0][0]|award_country_name" value="" />
				
			</td>
			
			<td align="center">
				<input id="awardinfo_award_date_[0][0]"  style="width: 60px;text-align:right" name="awardinfos|awardinfo[0][0]|award_year" maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)" label="获奖年度" value="" class="input_text required year" />
			</td>
			
			<td align="center">
				<input id="awardinfo_award_teampsn_[0][0]" style="width:80%;" name="awardinfos|awardinfo[0][0]|award_teampsn" maxlength="100" label="团队获奖人" value="" class="input_text  required " />
			</td>
			
			<td align="center">
				<input id="awardinfo_award_rank_[0][0]" style="width:80%;" name="awardinfos|awardinfo[0][0]|award_rank" maxlength="100" label="排名" value="" class="input_text  required " />
			</td>
		</tr>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/awardinfos/awardinfo" var="awardinfo">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center">
					<input type="radio" class="radiobutton" name="selAwardinfos">
				</td>
				<td align="center">
					<span name="awardinfos/awardinfo[${flag}${index}]@seq_no">
						<x:out select="$awardinfo/@seq_no" />
					</span>
				</td>
				<td align="center">
					<c:set var="pro_name" scope="page">
						<x:out select="$awardinfo/pro_name" />
					</c:set>
					 <input id="awardinfo_pro_name_[${flag}${index}]" value="${pro_name}" label="获奖项目名称" style="width:80%;" maxlength="100" name="awardinfos/awardinfo[${flag}${index}]/pro_name" class="input_text  required"/>
				</td>
				<td align="center">
				
				<c:set var="award_name" scope="page">
						<x:out select="$awardinfo/award_name" />
					</c:set>
					 <input id="awardinfo_award_name_[${flag}${index}]" value="${award_name}" label="奖励名称" style="width:80%;" maxlength="100" name="awardinfos/awardinfo[${flag}${index}]/award_name" class="input_text  required"/>
				
				</td>
					
				<td align="center">
					<c:set var="award_level_name" scope="page">
						<x:out select="$awardinfo/award_level_name" />
					</c:set>
					 <input id="awardinfo_award_level_name_[${flag}${index}]" value="${award_level_name}" label="奖励等级" style="width:80%;" maxlength="100" name="awardinfos/awardinfo[${flag}${index}]/award_level_name" class="input_text  required"/>
				</td>
				<td align="center">
					<c:set var="award_depart" scope="page">
						<x:out select="$awardinfo/award_depart" />
					</c:set>
					 <input id="awardinfo_award_depart_[${flag}${index}]" value="${award_depart}" label="授奖单位" style="width:80%;" maxlength="100" name="awardinfos/awardinfo[${flag}${index}]/award_depart" class="input_text  required"/>
				</td>
				
				<td align="center">
					<c:set var="award_country_value"><x:out select="$awardinfo/award_country_value" /></c:set>
			        <cpt:select id="awardinfo_award_country_${index}"   name="award_country"   key="country" style="width: 90%" value="${award_country_value}" onChange="initControlValue(this.id);"></cpt:select>
		        	<input type="hidden" name="awardinfos/awardinfo[${flag}${index}]/award_country_value"  class="input required common_select" value="<x:out select="$awardinfo/award_country_value" />" label="授奖单位国别"/>
			        <input type="hidden" name="awardinfos/awardinfo[${flag}${index}]/award_country_name" value="<x:out select="$awardinfo/award_country_name" />"  label="授奖单位国别"/>
				</td>
				
				<td align="center">
					<c:set var="award_date" scope="page">
						<x:out select="$awardinfo/award_year" />
					</c:set>
					 <input id="awardinfo_award_date_[${flag}${index}]"  value="${award_date}" label="获奖年度"  name="awardinfos/awardinfo[${flag}${index}]/award_year" maxlength="4" onfocus="InitInput.setNumber(this,4,0,0)"
					 style="width: 60px;text-align:right" class="input_text required year"/>
				</td>
				
				
				<td align="center">
					<c:set var="award_teampsn" scope="page">
						<x:out select="$awardinfo/award_teampsn" />
					</c:set>
					 <input id="awardinfo_award_teampsn_[${flag}${index}]" value="${award_teampsn}" label="团队获奖人" style="width:80%;" maxlength="100" name="awardinfos/awardinfo[${flag}${index}]/award_teampsn" class="input_text  required"/>
				</td>
				
				<td align="center">
					<c:set var="award_rank" scope="page">
						<x:out select="$awardinfo/award_rank" />
					</c:set>
					 <input id="awardinfo_award_rank_[${flag}${index}]" value="${award_rank}" label="排名" style="width:80%;" maxlength="100" name="awardinfos/awardinfo[${flag}${index}]/award_rank" class="input_text  required"/>
				</td>
				
			</tr>
			<c:set value="${index+1}" var="index" scope="page"/>
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("tblAwardInfo");
		</script>
		
		</tbody>
</table>
<br>

<table width="98%" align="center">
	<tr>
		<td>
			<input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblAwardInfo',5,'近五年团队重要获奖情况最多只能填写5条')){addNewRow('tblAwardInfo');showDateTag('tblAwardInfo');}try{top.resizeFrame();}catch(e){};">
			<input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblAwardInfo','selAwardinfos')">
		    <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblAwardInfo','selAwardinfos')">
		    <input class="button_02" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('tblAwardInfo','近五年团队重要获奖情况')">
		</td>
	</tr>
</table>
<div class="t_bar"><!-- <span class="color_red">*</span> -->近五年团队获得专利权和著作权情况（5项以内）</div>

<table id="tblPatentInfo" border="0" cellspacing="0" cellpadding="0" class="table01 t_css" >
		<col style="width:5%"/>
		<col style="width:5%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
		<col style="width:15%"/>
		<thead>
			<tr style="border: 1px solid #B7D1E6">
				<th class="TblHead" align="center" >选择</th>
				<th class="TblHead" align="center" >序号</th>
				<th class="TblHead" align="center" >专利或著作权名称</th>
				<th class="TblHead" align="center" >授权国家</th>
				<th class="TblHead" align="center" >专利或著作权号</th>
				<th class="TblHead" align="center" >授权时间</th>
				<th class="TblHead" align="center" >专利或著作权人</th>
				<th class="TblHead" align="center" >排名</th>
			</tr>
		</thead>
		<tbody id="tab">
		<tr style="display: none">
			<td align="center"> 
				<input type="radio" class="radiobutton" name="selPatentinfos">
			</td>
			<td align="center">
				<span name="patents|patent[0][0]@seq_no">[index]</span>
			</td>
			<td align="center">
				<input id="patent_pro_name_[0][0]" style="width:80%;" name="patents|patent[0][0]|pro_name" maxlength="100" label="专利或著作权名称" value="" class="input_text  required " />
			</td>
			<td align="center">
				<cpt:select id="patent_award_country_[index]"  name="award_country" key="country" className="common_select" onChange="initControlValue(this.id);" style="width:90%"></cpt:select>
				<input type="hidden" name="patents|patent[0][0]|award_country_value"  class="input select required" value="" label="授权国家">
				<input type="hidden" name="patents|patent[0][0]|award_country_name" value="" />
				
			</td>
			<td align="center">
				<input id="patent_award_name_[0][0]" style="width:80%;" name="patents|patent[0][0]|award_name" maxlength="100" label="专利或著作权号" value="" class="input_text  required " />
			</td>
			<td align="center">
				<input id="patent_award_date_[0][0]" style="width:60%;text-align:center" name="patents|patent[0][0]|award_date" label="授权时间" value="" class="required date beforeToday" />
			</td>
			<td align="center">
				<input id="patent_award_teampsn_[0][0]" style="width:80%;" name="patents|patent[0][0]|award_teampsn" maxlength="100" label="专利或著作权人" value="" class="input_text  required " />
			</td>
			<td align="center">
				<input id="patent_award_rank_[0][0]" style="width:80%;" name="patents|patent[0][0]|award_rank" maxlength="100" label="排名" value="" class="input_text  required " />
			</td>
		</tr>
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/patents/patent" var="patent">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center">
					<input type="radio" class="radiobutton" name="selPatentinfos">
				</td>
				<td align="center">
					<span name="patents/patent[${flag}${index}]@seq_no">
						<x:out select="$patent/@seq_no" />
					</span>
				</td>
				<td align="center">
					<c:set var="pro_name" scope="page"><x:out select="$patent/pro_name" /></c:set>
					 <input id="patent_pro_name_[${flag}${index}]" value="${pro_name}" label="专利或著作权名称" style="width:80%;" maxlength="100" name="patents/patent[${flag}${index}]/pro_name" class="input_text  required"/>
				</td>
				<td align="center">
					<c:set var="award_country_value"><x:out select="$patent/award_country_value" /></c:set>
			        <cpt:select id="patent_award_country_${index}"   name="award_country"   key="country" style="width: 90%" className="common_select" value="${award_country_value}" onChange="initControlValue(this.id);"></cpt:select>
		        	<input type="hidden" name="patents/patent[${flag}${index}]/award_country_value"  class="required" value="<x:out select="$patent/award_country_value" />" label="授权国家"/>
			        <input type="hidden" name="patents/patent[${flag}${index}]/award_country_name" value="<x:out select="$patent/award_country_name" />"  label="授权国家"/>
				</td>
				<td align="center">
				<c:set var="award_name" scope="page"><x:out select="$patent/award_name" /></c:set>
				<input id="patent_award_name_[${flag}${index}]" value="${award_name}" label="专利或著作权号" style="width:80%;" maxlength="100" name="patents/patent[${flag}${index}]/award_name" class="input_text  required"/>
				</td>
				<td align="center">
					<c:set var="award_date" scope="page"><x:out select="$patent/award_date" /></c:set>
					 <input id="patent_award_date_[${flag}${index}]"  value="${award_date}" label="授权时间"  name="patents/patent[${flag}${index}]/award_date" style="width:60%;text-align:center" class="required date beforeToday"/>
				</td>
				<td align="center">
					<c:set var="award_teampsn" scope="page"><x:out select="$patent/award_teampsn" /></c:set>
					 <input id="patent_award_teampsn_[${flag}${index}]" value="${award_teampsn}" label="专利或著作权人" style="width:80%;" maxlength="100" name="patents/patent[${flag}${index}]/award_teampsn" class="input_text  required"/>
				</td>
				<td align="center">
					<c:set var="award_rank" scope="page"><x:out select="$patent/award_rank" /></c:set>
					 <input id="patent_award_rank_[${flag}${index}]" value="${award_rank}" label="排名" style="width:80%;" maxlength="100" name="patents/patent[${flag}${index}]/award_rank" class="input_text  required"/>
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page"/>
		</x:forEach>
		<script type="text/javascript">
			showAllDateTag("tblPatentInfo");
		</script>
		
		</tbody>
		
</table>
<br/>
<input type="hidden" id="count_number_index" name="proposal/count_number_index" value="<x:out select="$xmlData/data/proposal/count_number_index" />"/>
<table width="98%" align="center">
	<tr>
		<td>
			<input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblPatentInfo',5,'近五年团队获得专利权和著作权情况最多只能填写5条')){addNewRow('tblPatentInfo');showDateTag('tblPatentInfo');}try{top.resizeFrame();}catch(e){};setCountNum();">
			<input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblPatentInfo','selPatentinfos')">
		    <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblPatentInfo','selPatentinfos')">
		    <input class="button_02" name="cmddel" type=button value="删除" onclick="deleteSelectedRow('tblPatentInfo','近五年团队获得专利权和著作权情况');setCountNum();">
		</td>
	</tr>
</table>

<div class="t_bar"><span class="color_red">*</span>其他重要业绩（成果）（限3000字）</div>
<table  width="100%" border="0" cellpadding="0" cellspacing="1" id="other_harvest">
<tr>
    <td>
		<textarea rows="10" cols="146"  class="input_textarea required  maxlength:3000"   name='proposal/summarize'  label="其他重要业绩（成果）"><x:out select="$xmlData/data/proposal/summarize"/></textarea>
		 <input type='hidden' name='proposal/summarize_hidden' id='proposal/summarize_hidden' value=''>
	</td>
</tr>
</table>
<div class="t_bar"><span class="color_red">*</span>团队成员间专业结构、关联性和互补性情况（限3000字）</div>
<table  width="100%" border="0" cellpadding="0" cellspacing="1" id="other_harvest2">
<tr>
    <td>
		<textarea rows="10" cols="146"  class="input_textarea required  maxlength:3000"    name='proposal/summarize_team'  label="团队成员间专业结构、关联性和互补性情况"><x:out select="$xmlData/data/proposal/summarize_team"/></textarea>
		 <input type='hidden' name='proposal/summarize_team_hidden' id='proposal/summarize_team_hidden' value=''>
	</td>
</tr>
</table>
<script type="text/javascript">
function countPsn() {
	var total_upforty = $("#total_upforty").val();
	var total_downforty =$("#total_downforty").val();
	if(!!total_upforty){
		total_upforty=parseInt(total_upforty);
	}
	if(!!total_downforty){
		total_downforty=parseInt(total_downforty);
	}
	var total=total_upforty+total_downforty;
	$("#total_psnAll").val(total);
	
}
function setCountNum(){
	var value=$("#tblPatentInfo").find("tr").length-2;
	$("#count_number_index").val(value);
}
</script>





























	
